package com.jumi.microservice.order.pipeline;

import com.jumi.microservice.order.handler.TransHandler;

/**
 * @author Dirk
 * @Date 2020-08-04 17:35
 */
public interface TransPipeline  extends TransOutboundInvoker {
    /**
     * 添加handler到头部
     * @param handlers
     */
    void addFirst(TransHandler... handlers);

    /**
     * 添加handler到尾部
     * @param handlers
     */
    void addLast(TransHandler... handlers);
}

